package com.example.database.mysql.userdb;

public class User {
    private String  phoneNumber; //电话号码

    private String passWord; //登录密码

    private String nickName; //昵称

    private String photo; //头像

    private String sex; //性别

    private String dateOfBirth; //出生日期

    private String personalSignature; //个人签名

    private int isVolunteers; //是否实名认证为志愿者 1表示已经认证成为志愿者 2表示未认证成为志愿者

    private String registrationTime; //注册时间

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getDateOfBirth() {
        return dateOfBirth;
    }

    public void setDateOfBirth(String dateOfBirth) {
        this.dateOfBirth = dateOfBirth;
    }

    public String getPersonalSignature() {
        return personalSignature;
    }

    public void setPersonalSignature(String personalSignature) {
        this.personalSignature = personalSignature;
    }

    public int getIsVolunteers() {
        return isVolunteers;
    }

    public void setIsVolunteers(int isVolunteers) {
        this.isVolunteers = isVolunteers;
    }

    public String getRegistrationTime() {
        return registrationTime;
    }

    public void setRegistrationTime(String registrationTime) {
        this.registrationTime = registrationTime;
    }

    @Override
    public String toString() {
        return "User{" +
                "phoneNumber=" + phoneNumber +
                ", passWord='" + passWord + '\'' +
                ", nickName='" + nickName + '\'' +
                ", photo='" + photo + '\'' +
                ", sex='" + sex + '\'' +
                ", dateOfBirth='" + dateOfBirth + '\'' +
                ", personalSignature='" + personalSignature + '\'' +
                ", isVolunteers=" + isVolunteers +
                ", registrationTime='" + registrationTime + '\'' +
                '}';
    }
}
